class Adver < ActiveRecord::Base
  
  file_column :fujian
  validates_filesize_of :fujian, :in => 0..25.kilobytes
  
  ModelName = "系统公告"
  ColumnNames = { 
    :id => "标识",
    :title => "标题",
    :content => "内容",
    :user_id => "用户名", 
    :fujian => "附件",
    :status => "状态",
    :ggtype_id => "公告类型",
    :add_at => "添加时间"
    } 
  
end
